package com.sunny.core.service.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sunny.core.bean.UserInfo;
import com.sunny.core.mapper.UserInfoMapper;
import com.sunny.core.service.IUserInfoService;

@Service("userInfoService")
public class UserInfoServiceImpl extends BaseServiceImpl <UserInfo> implements IUserInfoService {
	
	@Autowired
	UserInfoMapper  userInfoMapper;

	public UserInfo selectByLoginName(String record){
		return userInfoMapper.selectByLoginName(record);
	}
	
	public List<UserInfo> query(UserInfo entity) {
		return userInfoMapper.query(entity);
	}
	
}
